<?php /* Smarty version 2.6.18, created on 2009-10-28 01:38:48
         compiled from daasReportList.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'daasReportList.tpl', 19, false),array('modifier', 'number_format', 'daasReportList.tpl', 30, false),)), $this); ?>
<div>
	<table border="0" width="100%">
	<tr><td colspan="9"><hr></td></tr>
	<tr>
		<?php if ($this->_tpl_vars['daasList'][0]['tank_name'] <> ''): ?>
				<td align="center" style="padding-left: 5pt; padding-right: 5pt">Edit</td>
		<?php endif; ?>
		<td>Tank</td>
		<td>MOID</td>
		<td>Common Name</td>
		<td>Size</td>
		<td align="right">DAA Qty</td>
		<td align="right">DAA Amt</td>
		<td align="right">Mortality Date</td>
		<td>Reason</td>
	</tr>
	<tr><td colspan="9"><hr></td></tr>
	<?php $_from = $this->_tpl_vars['daasList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['daa']):
?>
	<tr class="<?php echo smarty_function_cycle(array('values' => 'blue,notify'), $this);?>
">
		<?php if ($this->_tpl_vars['daa']['tank_name'] <> ''): ?>
			<td align="center">
			<a href="javascript:void(0);" onclick="openWindow('/account/editInventoryDAALine/inventoryId/<?php echo $this->_tpl_vars['daa']['inventory_id']; ?>
/inventoryDAAId/<?php echo $this->_tpl_vars['daa']['inventory_daa_id']; ?>
','DAA',500,300,'scrollbars=yes');">Edit</a>
		</td>
		<?php endif; ?>
		<td><?php echo $this->_tpl_vars['daa']['tank_name']; ?>
</td>
		<td><?php echo $this->_tpl_vars['daa']['moid']; ?>
</td>
		<td><?php echo $this->_tpl_vars['daa']['common_name']; ?>
</td>
		<td><?php echo $this->_tpl_vars['daa']['size']; ?>
</td>
		<td align="right"><?php echo $this->_tpl_vars['daa']['quantity_daa']; ?>
</td>
		<td align="right"><?php echo $this->_tpl_vars['daa']['currency_mark']; ?>
&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['daa']['stock_amount'])) ? $this->_run_mod_handler('number_format', true, $_tmp, "2%d") : number_format($_tmp, "2%d")); ?>
</td>
		<td align="right"><?php echo $this->_tpl_vars['daa']['date_mortality']; ?>
</td>
		<td><?php echo $this->_tpl_vars['daa']['remark']; ?>
</td>
		
	</tr>
	<?php endforeach; endif; unset($_from); ?>
	</table>
</div>